package ngames.com.sushitv.entity;

/**
 * Created by Jeffrey on 2016/8/12.
 */
public class NGMessage {
    private int mType;
    private String mFromUser;
    private String mToUser;
    private String mMessage;
    private String mDid;

    private NGMessage(int type) {
        mType = type;
    }

    public int getmType() {
        return mType;
    }

    public void setmType(int mType) {
        this.mType = mType;
    }

    public String getmFromUser() {
        return mFromUser;
    }

    public void setmFromUser(String mFromUser) {
        this.mFromUser = mFromUser;
    }

    public String getmToUser() {
        return mToUser;
    }

    public void setmToUser(String mToUser) {
        this.mToUser = mToUser;
    }

    public String getmMessage() {
        return mMessage;
    }

    public void setmMessage(String mMessage) {
        this.mMessage = mMessage;
    }

    public String getmDid() {
        return mDid;
    }

    public void setmDid(String mDid) {
        this.mDid = mDid;
    }

    public static NGMessage createSendMessage(int type) {
        NGMessage msg = new NGMessage(type);
        return msg;
    }

    public static class Type {
        public static final int TXT = 0;
        public static final int IMAGE = 1;
        public static final int VOICE = 2;
    }
}
